const bannerAdd = () => import('@/components/views/banner/add')
const bannerMod = () => import('@/components/views/banner/mod')
const BannerIndex = () => import('@/components/views/banner/index')
const BannerList = () => import('@/components/views/banner/banner_manage')
const bannerRoute = {
    path: 'activity/banner_manage',
    component: BannerIndex,
    children: [
        {
            path: '',
            name: 'banner',
            redirect: 'list'
        },
        {
            path: 'list',
            name: 'bannerList',
            component: BannerList
        },
        {
            path: 'banner_add',
            name: 'bannerAdd',
            component: bannerAdd
        },
        {
            path: 'banner_mod/:id',
            name: 'bannerMod',
            component: bannerMod
        }
    ]

}

export default bannerRoute